package com.itheima.health;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ImportResource;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.web.multipart.commons.CommonsMultipartResolver;

/**
 * @author ：zhang
 * @date ：Created in 2020/11/29
 * @description ：
 * @version: 1.0
 */
@SpringBootApplication
@EnableGlobalMethodSecurity(prePostEnabled = true)
//@ImportResource(locations = {"classpath:spring-redis.xml",})   //启动配置时装在其他xml文件
public class OmsBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(OmsBackendApplication.class, args);
    }

}